package com.sy.olddriver.service;

import com.sy.olddriver.entity.Product;
import com.sy.olddriver.entity.User;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface HistoryService {
    void addHistory(String pid, HttpServletRequest req, HttpServletResponse res);

    void mergeHistory(HttpServletRequest req, HttpServletResponse res, User user);

    List<Product> getAllHistories(HttpServletRequest req, HttpServletResponse res);

}
